package dao;

import java.sql.ResultSet;
import java.util.List;

import entity.Book;

public interface IBookDao {

	
	 int addBook(Book book);
	
	 int deleteBook(Book book);
	 
	 int updateBook(Book book);
	 
	 List<Book> findAllBook();
	 
	 List<Book> findViewList(String list);
	 
	 Book findByBookid(String bookid);
	 
	 List<Book> findByBookname(String bookname);
	 
	 List<Book> rsToBook(ResultSet rs);
	 
	 
}
